feed_trace_abi = [
    {"constant": True, "inputs": [{"name": "produceOrderNo", "type": "uint256"}], "name": "getProduceOrder",
     "outputs": [{"name": "", "type": "uint256"}, {"name": "", "type": "uint256"}, {"name": "", "type": "uint256"},
                 {"name": "", "type": "uint256"}, {"name": "", "type": "string"}, {"name": "", "type": "uint256"},
                 {"name": "", "type": "address"}], "payable": False, "stateMutability": "view", "type": "function"},
    {"constant": True, "inputs": [{"name": "transportOrderNo", "type": "uint256"}], "name": "getTransportOrder",
     "outputs": [{"name": "", "type": "uint256"}, {"name": "", "type": "uint256"}, {"name": "", "type": "uint256"},
                 {"name": "", "type": "uint256"}, {"name": "", "type": "string"}, {"name": "", "type": "uint256"},
                 {"name": "", "type": "address"}], "payable": False, "stateMutability": "view", "type": "function"},
    {"constant": False,
     "inputs": [{"name": "parentOrderNo", "type": "uint256"}, {"name": "timestamp", "type": "uint256"},
                {"name": "price", "type": "uint256"}, {"name": "detail", "type": "string"},
                {"name": "feedNo", "type": "uint256"}], "name": "createProcessOrder",
     "outputs": [{"name": "", "type": "uint256"}], "payable": False, "stateMutability": "nonpayable",
     "type": "function"},
    {"constant": True, "inputs": [{"name": "userAddress", "type": "address"}], "name": "getUserRole",
     "outputs": [{"name": "", "type": "uint256"}], "payable": False, "stateMutability": "view", "type": "function"},
    {"constant": False,
     "inputs": [{"name": "parentOrderNo", "type": "uint256"}, {"name": "timestamp", "type": "uint256"},
                {"name": "price", "type": "uint256"}, {"name": "detail", "type": "string"},
                {"name": "feedNo", "type": "uint256"}], "name": "createTransportOrder",
     "outputs": [{"name": "", "type": "uint256"}], "payable": False, "stateMutability": "nonpayable",
     "type": "function"},
    {"constant": True, "inputs": [{"name": "sellOrderNo", "type": "uint256"}], "name": "getSellOrder",
     "outputs": [{"name": "", "type": "uint256"}, {"name": "", "type": "uint256"}, {"name": "", "type": "uint256"},
                 {"name": "", "type": "uint256"}, {"name": "", "type": "string"}, {"name": "", "type": "uint256"},
                 {"name": "", "type": "address"}], "payable": False, "stateMutability": "view", "type": "function"},
    {"constant": True, "inputs": [{"name": "processOrderNo", "type": "uint256"}], "name": "getProcessOrder",
     "outputs": [{"name": "", "type": "uint256"}, {"name": "", "type": "uint256"}, {"name": "", "type": "uint256"},
                 {"name": "", "type": "uint256"}, {"name": "", "type": "string"}, {"name": "", "type": "uint256"},
                 {"name": "", "type": "address"}], "payable": False, "stateMutability": "view", "type": "function"},
    {"constant": False, "inputs": [{"name": "createTime", "type": "uint256"}, {"name": "price", "type": "uint256"},
                                   {"name": "foodType", "type": "uint256"}, {"name": "feedNo", "type": "uint256"}],
     "name": "createOrder", "outputs": [{"name": "", "type": "uint256"}], "payable": False,
     "stateMutability": "nonpayable", "type": "function"},
    {"constant": True, "inputs": [], "name": "owner", "outputs": [{"name": "", "type": "address"}], "payable": False,
     "stateMutability": "view", "type": "function"},
    {"constant": True, "inputs": [{"name": "storageOrderNo", "type": "uint256"}], "name": "getStorageOrder",
     "outputs": [{"name": "", "type": "uint256"}, {"name": "", "type": "uint256"}, {"name": "", "type": "uint256"},
                 {"name": "", "type": "uint256"}, {"name": "", "type": "string"}, {"name": "", "type": "uint256"},
                 {"name": "", "type": "address"}], "payable": False, "stateMutability": "view", "type": "function"},
    {"constant": False, "inputs": [{"name": "userAddress", "type": "address"}, {"name": "role", "type": "uint256"}],
     "name": "setUserRole", "outputs": [], "payable": False, "stateMutability": "nonpayable", "type": "function"},
    {"constant": True, "inputs": [{"name": "orderNo", "type": "uint256"}], "name": "getOrder",
     "outputs": [{"name": "", "type": "uint256"}, {"name": "", "type": "uint256"}, {"name": "", "type": "uint256"},
                 {"name": "", "type": "uint256"}, {"name": "", "type": "address"}], "payable": False,
     "stateMutability": "view", "type": "function"}, {"constant": False,
                                                      "inputs": [{"name": "parentOrderNo", "type": "uint256"},
                                                                 {"name": "timestamp", "type": "uint256"},
                                                                 {"name": "price", "type": "uint256"},
                                                                 {"name": "detail", "type": "string"},
                                                                 {"name": "feedNo", "type": "uint256"}],
                                                      "name": "createStorageOrder",
                                                      "outputs": [{"name": "", "type": "uint256"}], "payable": False,
                                                      "stateMutability": "nonpayable", "type": "function"},
    {"constant": False,
     "inputs": [{"name": "parentOrderNo", "type": "uint256"}, {"name": "timestamp", "type": "uint256"},
                {"name": "price", "type": "uint256"}, {"name": "detail", "type": "string"},
                {"name": "feedNo", "type": "uint256"}], "name": "createProduceOrder",
     "outputs": [{"name": "", "type": "uint256"}], "payable": False, "stateMutability": "nonpayable",
     "type": "function"}, {"constant": False,
                           "inputs": [{"name": "name", "type": "string"}, {"name": "feedType", "type": "uint256"},
                                      {"name": "price", "type": "uint256"}, {"name": "timestamp", "type": "uint256"}],
                           "name": "createFeed", "outputs": [{"name": "", "type": "uint256"}], "payable": False,
                           "stateMutability": "nonpayable", "type": "function"}, {"constant": False, "inputs": [
        {"name": "parentOrderNo", "type": "uint256"}, {"name": "timestamp", "type": "uint256"},
        {"name": "price", "type": "uint256"}, {"name": "detail", "type": "string"},
        {"name": "feedNo", "type": "uint256"}], "name": "createSellOrder", "outputs": [{"name": "", "type": "uint256"}],
                                                                                  "payable": False,
                                                                                  "stateMutability": "nonpayable",
                                                                                  "type": "function"},
    {"constant": True, "inputs": [{"name": "feedNo", "type": "uint256"}], "name": "getFeed",
     "outputs": [{"name": "", "type": "string"}, {"name": "", "type": "uint256"}, {"name": "", "type": "uint256"},
                 {"name": "", "type": "uint256"}], "payable": False, "stateMutability": "view", "type": "function"},
    {"constant": False, "inputs": [{"name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [],
     "payable": False, "stateMutability": "nonpayable", "type": "function"},
    {"inputs": [], "payable": False, "stateMutability": "nonpayable", "type": "constructor"}, {"anonymous": False,
                                                                                               "inputs": [
                                                                                                   {"indexed": True,
                                                                                                    "name": "previousOwner",
                                                                                                    "type": "address"},
                                                                                                   {"indexed": True,
                                                                                                    "name": "newOwner",
                                                                                                    "type": "address"}],
                                                                                               "name": "OwnershipTransferred",
                                                                                               "type": "event"}]
